package com.hc.pokemen.feature_pokemen.presentation.pokemon_detail.components

import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.offset
import androidx.compose.foundation.layout.size
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.ArrowBack
import androidx.compose.material3.Icon
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.dp

@Composable
fun PokemonDetailTopSection(
    modifier: Modifier = Modifier
) {
    Box(
        modifier = modifier
//            .background(
//            Brush.verticalGradient(
//                listOf(
//                    Color.Black,
//                    Color.Transparent
//                )
//            )
//        )
    ) {
        Icon(
            imageVector = Icons.Default.ArrowBack,
            contentDescription = null,
            tint = Color.White,
            modifier = Modifier
                .size(36.dp)
                .offset(16.dp, 16.dp)
        )
    }
}